package com.dz.syndata.mapper.one;

import com.dz.syndata.bean.CarGpsInfo;
import com.dz.syndata.bean.UpdateCarInfo;
import com.dz.syndata.bean.User;
import com.dz.syndata.bean.device.DeviceBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface PrimaryDeviceMapper {
    List<DeviceBean> findAll();
    void   updateDeviceInfo( DeviceBean deviceBean);
    void   updateDeviceInfoTitle( DeviceBean deviceBean);

    String  selectById(UpdateCarInfo updateCarInfo);

    void insertDeviceCode(String code);
}
